/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springblade.modules.system.entity.Tenant;

/**
 * 客户使用单位-合同统计信息实体类
 *
 * @author ysq
 * @since 2025-08-19
 */
@Data
@TableName("blade_building_user_contract")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BuildingUserContract对象", description = "客户使用单位-合同统计信息")
public class BuildingUserContract extends TenantEntity {

	private static final long serialVersionUID = 1L;


	@ApiModelProperty(value = "项目id")
	private Long buildingId;

	@ApiModelProperty(value = "1:合作中2:丢保项目3:潜在项目")
	private Integer joinHandsType;

	@ApiModelProperty(value = "项目类型")
	private String buildingTypeName;

	@ApiModelProperty(value = "楼栋是否缺失 1:不缺失 0:缺失")
	private Integer floorType;

	@ApiModelProperty(value = "电梯位置是否缺失1:不缺失 0:缺失")
	private Integer elevatorGpsType;

	@ApiModelProperty(value = "电梯结构 大于0 不缺失:缺失")
	@TableField(exist = false)
	private Integer templatesCounts;

	@ApiModelProperty(value = "服务梯数")
	private Integer inTimeEleCounts;

	@ApiModelProperty(value = "脱保梯数")
	private Integer outTimeEleCounts;

	@ApiModelProperty(value = "问题梯数")
	private Integer questionEleCounts;

	@ApiModelProperty(value = "丢保梯数")
	private Integer dbEleCounts;

	@ApiModelProperty(value = "楼数")
	private Integer floorCounts;

	@ApiModelProperty(value = "梯数")
	private Integer elevatorCounts;

	@TableField(exist = false)
	@ApiModelProperty(value = "项目名称")
	private String buildingName;

	@TableField(exist = false)
	@ApiModelProperty(value = "项目别名")
	private String buildingAliaName;

	@TableField(exist = false)
	@ApiModelProperty(value = "负责商务人员")
	private String userName;

	@ApiModelProperty(value = "状态集合")
	private String joinHandsTypes;
}
